package com.shuiyun.jtt.entity.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author shuiyun
 * @program gateway
 * @description 多媒体数据检索
 * @date 2022-05-09 00:06
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class T8802Form extends BaseForm{

    @ApiModelProperty(value = "多媒体类型",example = "0",notes = "0-图像 1-音频 2-视频")
    private Integer type;

    @ApiModelProperty(value = "通道ID",example = "1")
    private Integer channelId;

    @ApiModelProperty(value = "事件项编码",example = "0",notes = "0-平台下发指令 1-定时动作 2-抢劫报警 3-碰撞侧翻报警触发 4-门开拍照 5-门关拍照")
    private Integer event;

    @ApiModelProperty(value = "开始时间",example = "2022-05-09 00:00:00",notes = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间",example = "2022-05-09 23:59:59",notes = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
